OneTeamSoftware\WooCommerce\Shipping\Plugin S

Total Complexity 32
Dependencies 2
Dependents 0
Total lines 216
Lines of code 144
Logical lines of code 77
Comment lines 4
Methods 17
Properties 10

Methods 17

Method Rating Maintainability Complexity Lines of code
isRequestForUrl()
A
57 8 16
register()
S
50 4 25
defineShippingMethodClass()
S
51 3 28
getDefaultServiceName()
S
66 3 9
__construct()
S
56 1 17
onIsEnabled()
S
71 2 6
onPluginActionLinks()
S
71 1 5
updateFormFields()
S
80 1 3
onAdminMenu()
S
78 1 3
getBaseShippingMethodClassName()
S
82 1 3
addShippingMethod()
S
73 1 5
isCart()
S
80 1 3
isCheckout()
S
80 1 3
initAdapter()
S
67 1 7
loadSettings()
S
75 1 4
getShippingMethodClassName()
S
79 1 3
registerFeatures()
S
74 1 4